package com.bumptech.glide.load.resource;

import com.bumptech.glide.load.engine.Resource;

public class SimpleResource<T>
  implements Resource<T>
{
  protected final T data;

  public SimpleResource(T paramT)
  {
    if (paramT == null)
      throw new NullPointerException("Data must not be null");
    this.data = paramT;
  }

  public final T get()
  {
    return this.data;
  }

  public final int getSize()
  {
    return 1;
  }

  public void recycle()
  {
  }
}

/* Location:           C:\Users\user\Desktop\dd28_pcdd720\classes_dex2jar.jar
 * Qualified Name:     com.bumptech.glide.load.resource.SimpleResource
 * JD-Core Version:    0.6.2
 */